package com.situ.mall.collection;

import org.junit.jupiter.api.Test;

public class Demo {

    @Test
    public void test1() {
        System.out.println("Aa".hashCode());//2112
        System.out.println("BB".hashCode());//2112
    }

    @Test
    public void test22() {
        Student student = new Student();
        System.out.println(student.hashCode());

        Student student1 = new Student();
        Student student2 = new Student();
        System.out.println(student1.hashCode());
        System.out.println(student2.hashCode());
        System.out.println(student1 == student2);
    }
}
